
<div class="row">
<?if(isset($system_message))echo $system_message;
echo validation_errors() !==''?'<div class="error">'.validation_errors().'</div>' : NULL;
?>	
	<fieldset>
	<legend class="label">Add/Edit Book Subject</legend>
	<form action="" method="POST">
		<div class="input-block">
			<label>Name Of Subject:</label>
			<input type="text" name="cat[cat_name]" value="<?=set_value('cat[cat_name]', isset($categories)?$categories->lbc_name:'');?>">
		</div>
		<div class="input-block">
			<label>Subject Description:</label>
			<textarea name="cat[cat_desc]"><?=set_value('cat[cat_desc]',isset($categories)?$categories->lbc_desc:'');?></textarea>
		</div>
		<div class="input-block">
			<input type="submit" class="button tiny" name="add_category" value="Save Subject">
		</div>
	</form>
	</fieldset>
</div>